package com.huo.filestransport.vo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@PropertySource(value = "ftpapplication.properties")
@ConfigurationProperties(prefix = "ftp")
public class FtpServerInfo {
	
	
	private String ip;
	
	private int port;
	
	private String username;
	
	private String password;
	
	//保存的路径
	private String localDirectory;

	public List getFiles() {
		return files;
	}

	public void setFiles(List files) {
		this.files = files;
	}

	//需要访问的ftp目录
	private String ftpDirectory;
	//延迟天数
	private int delayTime;

	private List files;
	//常用的表名称
	private List<String> DefinitionFileName;
	
	private String ftpUploadDirectory;
	
	private String upIp;
	
	private int upPort;
	
	private String upUsername;
	
	private String upPassword;
	
	public int getDelayTime() {
		return delayTime;
	}

	public void setDelayTime(int delayTime) {
		this.delayTime = delayTime;
	}


	public List<String> getDefinitionFileName() {
		return DefinitionFileName;
	}

	public void setDefinitionFileName(List<String> definitionFileName) {
		DefinitionFileName = definitionFileName;
	}

	public String getFtpDirectory() {
		return ftpDirectory;
	}

	public void setFtpDirectory(String ftpDirectory) {
		this.ftpDirectory = ftpDirectory;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFtpUploadDirectory() {
		return ftpUploadDirectory;
	}

	public void setFtpUploadDirectory(String ftpUploadDirectory) {
		this.ftpUploadDirectory = ftpUploadDirectory;
	}

	public String getLocalDirectory() {
		return localDirectory;
	}

	public void setLocalDirectory(String localDirectory) {
		this.localDirectory = localDirectory;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getUpIp() {
		return upIp;
	}

	public void setUpIp(String upIp) {
		this.upIp = upIp;
	}

	public String getUpUsername() {
		return upUsername;
	}

	public void setUpUsername(String upUsername) {
		this.upUsername = upUsername;
	}

	public String getUpPassword() {
		return upPassword;
	}

	public void setUpPassword(String upPassword) {
		this.upPassword = upPassword;
	}

	public int getUpPort() {
		return upPort;
	}

	public void setUpPort(int upPort) {
		this.upPort = upPort;
	}

}
